package java_oop.demo05;

/**
 * @author IT_Jay
 * @date 2022/1/24 19:37
 */

public class Person {
    protected String name = "张麻子";

    public Person() {
        System.out.println("Person无参构造执行");
    }

    //    private 私有的  无法继承
    public void print(){
        System.out.println("Person");
    }
}
